//
//  LoginViewController.m
//  ConscienceWorldPorject
//
//  Created by 孙海琛 on 2019/11/28.
//  Copyright © 2019 孙海琛. All rights reserved.
//

#import "LoginViewController.h"
#import "RegisteredViewController.h"

@interface LoginViewController ()
@property (weak, nonatomic) IBOutlet UIButton *bottomBtn;
@property (weak, nonatomic) IBOutlet UITextField *accountTextFile;
@property (weak, nonatomic) IBOutlet UITextField *passWorldTextFiled;


@end

@implementation LoginViewController
- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    [self changeBarWhiteOrBlack:YES];
    self.navigationBarAlphaMu = 0;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    [self addNavigationBackBtnWhite:nil];
    [self addNavigationTitle:@"登录" titleColor:[UIColor whiteColor]];
    [self createUI];
}
- (void)createUI{
    self.view.backgroundColor = [UIColor whiteColor];
    ViewRadius(_bottomBtn, 5);
    [_bottomBtn.layer addSublayer:[UIColor setGradualChangingColor:_bottomBtn fromColor:@"#F27186" toColor:@"#FF0012"]];
    _accountTextFile.placeholder = @"请输入您的账号";
}
//忘记密码
- (IBAction)forgetPassWorld:(UIButton *)sender {
}
//账号注册
- (IBAction)registeredAction:(UIButton *)sender {
    RegisteredViewController *vc = [[RegisteredViewController alloc]init];
    [self.navigationController pushViewController:vc animated:YES];
}


@end
